home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Puzzle
/
xball.swf
/
scripts
/
frame_17
/
DoAction.as
Wrap
Text File
|
2006-05-23
|
1KB
|
48 lines
border = 230;
bricknumber = 90;
Level_index += 1;
Left = 120;
speedx = 8;
speedy = 8;
ball._x = paddle._x;
ball._y = paddle._y - 30;
speedy *= -1;
r = 0;
c = 0;
count = 0;
while(9 >= r)
{
while(8 >= c)
{
if((r == 0 or r == 3 or r == 6 or r == 9) and (c >= 0 and 3 >= c or c >= 5 and 8 >= c))
{
dupGold(r,c,count,left);
}
else if((r == 0 or r == 3 or r == 6 or r == 9) and c == 4)
{
dupBlue(r,c,count,left);
}
else if((r == 1 or r == 2 or r == 7 or r == 8) and (c == 0 or c == 3 or c == 5 or c == 8))
{
dupGold(r,c,count,left);
}
else if((r == 1 or r == 2 or r == 7 or r == 8) and (c == 1 or c == 2 or c == 6 or c == 7))
{
dupRed(r,c,count,left);
}
else if((r == 1 or r == 2 or r == 7 or r == 8) and c == 4)
{
dupBlue(r,c,count,left);
}
else if(r == 4 or r == 5)
{
dupBlue(r,c,count,left);
}
c += 1;
count += 1;
}
r += 1;
c = 0;
}
_root.isInvisible();